﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Business_Objects
{
    public class Student
    {
        private Guid _id;
        private byte[] _image;
        private string _studentNumber = String.Empty;
        private string _name = String.Empty;
        private DateTime _studentBirthday;
        private bool _sex;
        private string _nationalities = String.Empty;
        private string _religion = String.Empty;
        private string _nationals = String.Empty;
        private string _homeAddress = String.Empty;
        private string _provinceHome = String.Empty;
        private string _districtHome = String.Empty;
        private string _socialHome = String.Empty;
        private string _temporaryAddress = String.Empty;
        private string _provinceTemporary = String.Empty;
        private string _districtTemporary = String.Empty;
        private string _socialTemporary = String.Empty;
        private string _fatherName = String.Empty;
        private string _fatherJob = String.Empty;
        private int _fatherMobile;
        private string _motherName = String.Empty;
        private string _motherJob = String.Empty;
        private int _motherMobile;
        private string _communicantName = String.Empty;
        private int _communicantMobile;
        private string _communicantAddress = String.Empty;
        private bool _martyrs;
        private bool _wounded;
        private bool _illness;
        private bool _revolution;
        private bool _poor;
        private bool _orphaned;
        private bool _unrefuge;
        private bool _disabilities;
        private bool _minority;
        private bool _inactive;
        private int _schoolID;
        private Guid _schoolYearID;
        public Student()
        {
        }

        public Student(
            Guid _id,
         byte[] _image,
         string _studentNumber,
         string _name,
         DateTime _studentBirthday,
         bool _sex,
         string _nationalities,
         string _religion,
         string _nationals,
         string _homeAddress,
         string _provinceHome,
         string _districtHome,
         string _socialHome,
         string _temporaryAddress,
         string _provinceTemporary,
         string _districtTemporary,
         string _socialTemporary,
         string _fatherName,
         string _fatherJob,
         int _fatherMobile,
         string _motherName,
         string _motherJob,
         int _motherMobile,
         string _communicantName,
         int _communicantMobile,
         string _communicantAddress,
         bool _martyrs,
         bool _wounded,
         bool _illness,
         bool _revolution,
         bool _poor,
         bool _orphaned,
         bool _unrefuge,
         bool _disabilities,
         bool _minority,
         bool _inactive,
         int _schoolID, Guid _schoolYearID)
        {
            Id = _id;
            Image = _image;
            StudentNumber = _studentNumber;
            Name = _name;
            StudentBirthday = _studentBirthday;
            Sex = _sex;
            Nationalities = _nationalities;
            Religion = _religion;
            Nationals = _nationals;
            HomeAddress = _homeAddress;
            ProvinceHome = _provinceHome;
            DistrictHome = _districtHome;
            SocialHome = _socialHome;
            TemporaryAddress = _temporaryAddress;
            ProvinceTemporary = _provinceTemporary;
            DistrictTemporary = _districtTemporary;
            SocialTemporary = _socialTemporary;
            FatherName = _fatherName;
            FatherJob = _fatherJob;
            FatherMobile = _fatherMobile;
            MotherName = _motherName;
            MotherJob = _motherJob;
            MotherMobile = _motherMobile;
            CommunicantName = _communicantName;
            CommunicantMobile = _communicantMobile;
            CommunicantAddress = _communicantAddress;
            Martyrs = _martyrs;
            Wounded = _wounded;
            Illness = _illness;
            Revolution = _revolution;
            Poor = _poor;
            Orphaned = _orphaned;
            Unrefuge = _unrefuge;
            Disabilities = _disabilities;
            Minority = _minority;
            Inactive = _inactive;
            SchoolID = _schoolID;
            SchoolYearId = _schoolYearID;
        }
        #region Public Properties
        public Guid Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public byte[] Image
        {
            get { return _image; }
            set { _image = value; }
        }

        public string StudentNumber
        {
            get { return _studentNumber; }
            set { _studentNumber = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public DateTime StudentBirthday
        {
            get { return _studentBirthday; }
            set { _studentBirthday = value; }
        }

        public bool Sex
        {
            get { return _sex; }
            set { _sex = value; }
        }

        public string Nationalities
        {
            get { return _nationalities; }
            set { _nationalities = value; }
        }

        public string Religion
        {
            get { return _religion; }
            set { _religion = value; }
        }

        public string Nationals
        {
            get { return _nationals; }
            set { _nationals = value; }
        }

        public string HomeAddress
        {
            get { return _homeAddress; }
            set { _homeAddress = value; }
        }

        public string ProvinceHome
        {
            get { return _provinceHome; }
            set { _provinceHome = value; }
        }

        public string DistrictHome
        {
            get { return _districtHome; }
            set { _districtHome = value; }
        }

        public string SocialHome
        {
            get { return _socialHome; }
            set { _socialHome = value; }
        }

        public string TemporaryAddress
        {
            get { return _temporaryAddress; }
            set { _temporaryAddress = value; }
        }

        public string ProvinceTemporary
        {
            get { return _provinceTemporary; }
            set { _provinceTemporary = value; }
        }

        public string DistrictTemporary
        {
            get { return _districtTemporary; }
            set { _districtTemporary = value; }
        }

        public string SocialTemporary
        {
            get { return _socialTemporary; }
            set { _socialTemporary = value; }
        }

        public string FatherName
        {
            get { return _fatherName; }
            set { _fatherName = value; }
        }

        public string FatherJob
        {
            get { return _fatherJob; }
            set { _fatherJob = value; }
        }

        public int FatherMobile
        {
            get { return _fatherMobile; }
            set { _fatherMobile = value; }
        }

        public string MotherName
        {
            get { return _motherName; }
            set { _motherName = value; }
        }

        public string MotherJob
        {
            get { return _motherJob; }
            set { _motherJob = value; }
        }

        public int MotherMobile
        {
            get { return _motherMobile; }
            set { _motherMobile = value; }
        }

        public string CommunicantName
        {
            get { return _communicantName; }
            set { _communicantName = value; }
        }

        public int CommunicantMobile
        {
            get { return _communicantMobile; }
            set { _communicantMobile = value; }
        }

        public string CommunicantAddress
        {
            get { return _communicantAddress; }
            set { _communicantAddress = value; }
        }

        public bool Martyrs
        {
            get { return _martyrs; }
            set { _martyrs = value; }
        }

        public bool Wounded
        {
            get { return _wounded; }
            set { _wounded = value; }
        }

        public bool Illness
        {
            get { return _illness; }
            set { _illness = value; }
        }

        public bool Revolution
        {
            get { return _revolution; }
            set { _revolution = value; }
        }

        public bool Poor
        {
            get { return _poor; }
            set { _poor = value; }
        }

        public bool Orphaned
        {
            get { return _orphaned; }
            set { _orphaned = value; }
        }

        public bool Unrefuge
        {
            get { return _unrefuge; }
            set { _unrefuge = value; }
        }

        public bool Disabilities
        {
            get { return _disabilities; }
            set { _disabilities = value; }
        }

        public bool Minority
        {
            get { return _minority; }
            set { _minority = value; }
        }

        public bool Inactive
        {
            get { return _inactive; }
            set { _inactive = value; }
        }

        public int SchoolID
        {
            get { return _schoolID; }
            set { _schoolID = value; }
        }

        public Guid SchoolYearId
        {
            get { return _schoolYearID; }
            set { _schoolYearID = value; }
        }

        #endregion
    }
}
